<script setup lang="ts">
    import{ref} from 'vue'
    let age=ref(19)
    //泛型
    const props= defineProps<{
        pp:string
    }>()

</script>

<template>
    <div>年龄：{{ age }}</div>
    <p>{{ props.pp }}</p>
</template>


<style scoped>
</style>


